﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MShop.Core.Domain;

namespace MShop.Core.DataAccess
{
    public interface ICartItemDao:ICommonDao<CartItem>
    {
        void UpdateCartItem(string sessionId, Guid userId);

        void DeleteCartItems(Guid userid);

        void DeleteCartItems(string sessionid);

        IQueryable<CartItem> GetCurrentCartItems(bool isAuthenticated, IShopContext shopContext,out decimal totalFee);
    }
}